package com.csx.base.design.behavior.strategy.example.exampleA;

import org.springframework.stereotype.Component;

/**
 * @author cuisongxu
 * @date 2022/9/29 12:14
 */
@Component("alipayStrategy")
public class AliPayStrategyImpl implements PayStrategy{

    /**
     * 支付宝支付
     * @return
     */
    @Override
    public boolean pay() {
        System.out.println("进行支付宝支付逻辑");
        return true;
    }
}
